package com.pinyougou.sellergoods.service;

import com.pinyougou.pojo.TbBrand;
import com.pinyougou.pojo.TbBrandVo;
import entity.PageResult;
import entity.Result;

import java.util.List;
import java.util.Map;

public interface IBrandService {

    List<TbBrand> findAll();

    PageResult findByPagination(int pageNum,int pageSize,String name);

    Result addTbBrand(TbBrand brand);

    Result updTbBrand(TbBrand brand);

    Result getById(Long id);

    Result delById(Long[] idList);

    List<Map> findList();
}
